package com.v9.system.domain.model;

import com.v9.common.utils.IGlossary;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 资源绑定类型
 */
@Schema(enumAsRef = true)
public enum ResBindTypeEnum implements IGlossary
{
    Role("角色"),
    Permission("权限")
    ;

    private String remark;
    ResBindTypeEnum(String remark) {
        this.remark=remark;
    }

    @Override
    public String getRemark() {
        return remark;
    }
    @Override
    public String toString() {
        return  name() +":" + getRemark();
    }
}
